﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core
{
    public class GameHelper : Helper
    {
        AssetSpace assetSpace = new AssetSpace();

        public async ETTask<T> LoadAssetAsync<T>(string path) where T : UnityEngine.Object
        {
            return await assetSpace.LoadAssetAsync<T>(path);
        }

        public new void Dispose()
        {
            base.Dispose();
            assetSpace.Dispose();
        }
    }
}
